package com.itheima.controller;

import lombok.Data;

/**
 * @Author Andy
 * @Description //TODO BusinessException
 * @Date 2022/3/2 9:22 上午
 * @Version 1.0
 **/

@Data
public class BusinessException extends RuntimeException{

    private int code;
    public BusinessException(int code, String message){
        super(message);
        this.code = code;
    }
}
